<?php
	$grId = $_GET['grId'];
	
	$indeks = 111111;
	$pesel = 11111111111;
	$status = 'FromPHP';
	
	include 'dbConnection.php';

	mssql_query("EXECUTE setZapisany $grId, $indeks, $pesel, $status") or die('query error');
	
	echo "grId= $grId";
	
	//mssql_free_result($result);
	mssql_close($con);
?>
